package org.m2acsi.boundary;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.m2acsi.entities.Task;

@Stateless
public class TaskEJB extends BaseEJB<Task> {

    @PersistenceContext(unitName = "taskManagerPU")
    EntityManager em;

    public TaskEJB() {
        super(Task.class);
    }

    @Override
    public void remove(Task entity) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public EntityManager em() {
        return em;
    }
}
